package net.xdclass.feign;

import net.xdclass.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author NJUPT wly
 * @Date 2021/9/25 5:27 下午
 * @Version 1.0
 */
@FeignClient(name = "xdclass-user-service")
public interface UserFeignService {

    @GetMapping("/api/address/v1/detail/{address_id}")
    JsonData detail(@PathVariable("address_id")long addressId);

}
